<!DOCTYPE html>
<html>
<meta charset="utf-8">
<script th:inline="javascript"> var ctx = [[@{
    /}]] ; </script>
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">

                        <!-- <input id="ID" name="ID" th:value="${projectInfo.ID}"  type="hidden">  -->

                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目代码：</label>
                            <div class="col-sm-8">
                                <input id="projectcode" name="projectcode" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目名称：</label>
                            <div class="col-sm-8">
                                <input id="projectname" name="projectname" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目开始日期：</label>
                            <div class="col-sm-8">
                                <input id="projectbegin" name="projectbegin" th:value="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目结束日期：</label>
                            <div class="col-sm-8">
                                <input id="projectend" name="projectend"   class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目等级：</label>
                            <div class="col-sm-8">
                                <input id="projectlevel" name="projectlevel" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目联系人：</label>
                            <div class="col-sm-8">
                                <input id="contactname" name="contactname" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系方式：</label>
                            <div class="col-sm-8">
                                <input id="contactphone" name="contactphone" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目描述：</label>
                            <div class="col-sm-8">
                                <input id="projectdesc" name="projectdesc" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/static/itemjs/bug/projectInfo/add.js" th:src="@{/itemjs/bug/projectInfo/add.js}">
</script>

<script>
    //执行一个laydate实例
    laydate.render({
        elem: '#projectbegin'  //指定实例
        ,type:'date'
    });
    laydate.render({
        elem: '#projectend'  //指定实例
        ,type:'date'
    });
</script>
</body>
</html>
